﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IOC1
{
    public class MyPeople : IMYPeoPleInter
    {
        public string Name { get ;set ; }

        public void Say()
        {
            Console.WriteLine($" My Name is {Name}.");
        }
    }
}
